include_directories(${PROJECT_SOURCE_DIR}/base/include)
include_directories(${PROJECT_SOURCE_DIR}/common/include)
include_directories(${PROJECT_SOURCE_DIR}/foundation/media/include)
include_directories(${PROJECT_SOURCE_DIR}/foundation/stream_server/include)
include_directories(${PROJECT_SOURCE_DIR}/foundation/web_server/include)
include_directories(${PROJECT_SOURCE_DIR}/third_party/include)
include_directories(${PROJECT_SOURCE_DIR}/hal/init/include)

link_directories(${PROJECT_SOURCE_DIR}/third_party/lib/${CMAKE_SYSTEM_PROCESSOR})
link_libraries(base common gtest gtest_main)

# 添加测试
enable_testing()

# 添加common_task测试
add_executable(common_task_test
    common_task_test.cpp
)

# 添加测试
add_test(NAME common_task_test COMMAND common_task_test)
